using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using HengTong.Model.Db.Hr.Attendance;
using HengTong.Model.Db.Hr;


namespace HengTong.ViewModel.Hr.SysAttendanceRecordVms
{
    public partial class SysAttendanceRecordSearcher : BaseSearcher
    {
        public Guid? PersonId { get; set; }
        public Guid? AttendanceShiftGroupId { get; set; }
        [Display(Name = "班次类型")]
        public ShiftTypeEnum? ShiftType { get; set; }
        [Display(Name = "排班方式")]
        public ScheduleTypeEnum? ScheduleType { get; set; }
        [Display(Name = "班次状态")]
        public ShiftStatusEnum? Status { get; set; }
        public Guid? SubstitutePersonId { get; set; }
        [Display(Name = "出勤结果")]
        public AttendanceResultEnum? AttendanceResult { get; set; }
        [Display(Name = "是否异常")]
        public Boolean? IsAbnormal { get; set; }
        


        protected override void InitVM()
        {
        }
    }

    public partial class SysAttendanceRecordByPersonSearcher : BaseSearcher
    {
        
        /// <summary>
        /// 人员 ID
        /// </summary>
        [Display(Name = "人员")]
        public Guid? PersonId { get; set; }
        
        /// <summary>
        /// 部门 ID
        /// </summary>
        [Display(Name = "部门")]
        public Guid? GroupId { get; set; }
        
        [Display(Name = "排班日期")]
        public DateRange ShiftDate { get; set; }
        
        public string Name { get; set; }
        
        public Guid? OrgId { get; set; }
        
        public string StaffNo { get; set; }
    }
}
